package data;

import bean.Customer;
import data.exception.DaoException;

/**
 * Customer DAO.
 * 
 * @author chuxiaoyuan
 * 
 */
public interface ICustomerDao extends IDao<Customer> {

	/**
	 * Get customer by Id.
	 * 
	 * @param id
	 *            the id value.
	 * @return the Customer. null if no customer of the specified id.
	 * @throws DaoException
	 *             search failed.
	 */
	Customer selectById(final Long id) throws DaoException;

}
